<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>欢迎访问 - 引导页</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', Arial, sans-serif;
        }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #333;
        }

        .container {
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            width: 90%;
            max-width: 600px;
            padding: 40px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .logo {
            margin-bottom: 30px;
        }

        .logo img {
            max-width: 150px;
            height: auto;
        }

        h1 {
            font-size: 28px;
            margin-bottom: 20px;
            color: #2c3e50;
        }

        p {
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 30px;
            color: #555;
        }

        .btn {
            display: inline-block;
            background-color: #3498db;
            color: white;
            text-decoration: none;
            padding: 12px 30px;
            border-radius: 50px;
            font-size: 16px;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            margin: 10px;
        }

        .btn:hover {
            background-color: #2980b9;
            transform: translateY(-3px);
            box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
        }

        .btn-primary {
            background-color: #3498db;
        }

        .btn-secondary {
            background-color: #2ecc71;
        }

        .countdown {
            font-size: 18px;
            margin-top: 20px;
            color: #7f8c8d;
        }

        @media (max-width: 767px) {
            .container {
                padding: 30px 20px;
            }

            h1 {
                font-size: 24px;
            }

            p {
                font-size: 14px;
            }

            .btn {
                padding: 10px 20px;
                font-size: 14px;
                display: block;
                margin: 10px auto;
                max-width: 200px;
            }
        }
    </style>
</head>
<body>
<div class="container">
    <div class="logo">
        <!-- 这里可以放置网站的logo -->
        <svg width="120" height="120" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
            <rect width="120" height="120" rx="20" fill="#3498db" fill-opacity="0.2"/>
            <path d="M40 40L80 80M40 80L80 40" stroke="#3498db" stroke-width="8" stroke-linecap="round"/>
            <circle cx="60" cy="60" r="30" stroke="#3498db" stroke-width="5" fill="none"/>
        </svg>
    </div>

    <h1>欢迎访问我们的网站</h1>

    <p>
        感谢您的访问！我们的网站已经更新，请点击下方按钮前往新网址继续浏览。
        <br>
        您也可以等待系统自动跳转。
    </p>

    <a href="https://jxwazx.cn/" class="btn btn-primary">立即访问</a>
    <a href="https://jxwazx.cn/" class="btn btn-secondary">了解更多</a>

    <div class="countdown" id="countdown">
        <span id="timer">5</span> 秒后自动跳转...
    </div>
</div>

<script>
    // 倒计时自动跳转
    let timeLeft = 5;
    const timerElement = document.getElementById('timer');

    function updateTimer() {
        timeLeft--;
        timerElement.textContent = timeLeft;

        if (timeLeft <= 0) {
            clearInterval(timerId);
            window.location.href = 'https://jxwazx.cn/';
        }
    }

    const timerId = setInterval(updateTimer, 1000);

    // 记录访问来源
    window.addEventListener('load', function () {
        const referrer = document.referrer;
        // 这里可以添加逻辑，比如将访问来源发送到服务器
        console.log('Visitor came from:', referrer);

        // 示例：如果需要，可以将来源信息存储在本地
        localStorage.setItem('referrer', referrer);
    });
</script>
</body>
</html>
